<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统参数列表</title>
<#include "../include/base.ftl">
<script type="text/javascript" src="style/web/js/sys_config.js?v=${version}"></script>
</head>
<body>
	<table id="sys-config-list-box" class="easyui-datagrid" style="width: 100%;"
		toolbar="#sys-config-list-btn" title="系统参数列表" iconCls="icon-save"
			url="sysConfig/data" rownumbers="true" singleSelect=true
			pagination="true" pageSize=30 pageList=[30,40,50,100] pageNumber=1>
			<thead>
				<tr>
					<th field="ck" width="50" checkbox=true align="center">选择</th>
					<th field="id" width="40" hidden=true>ID</th>
                    <th field="propertyName" width="300">属性名</th>
                    <th field="propertyValue" width="300">属性值</th>
                    <th field="remark" width="400">備註</th>
				</tr>
			</thead>
		</table>
	
		<div id="sys-config-list-btn" class="search-box">
			<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch()">查询</a>
			<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="javascript:showAddBox();">新增</a>
			<!-- <a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="javascript:deleteSysConfig();">刪除</a> -->
			<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="javascript:showEditBox();">修改</a>
			<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="javascript:resetSearchForm();">重置</a>				
			<br/>
            <span class="search-label">属性名:</span><input type="text" id="s-propertyName" name="propertyName" class="easyui-textbox search-input"/>	
            <span class="search-label">属性值:</span><input type="text" id="s-propertyValue" name="propertyValue" class="easyui-textbox search-input"/>	
		</div>
	
		<div id="edit-sys-config-box" class="easyui-window add-box" title="系统参数信息维护"
			style="width: 600px; height: 600px; display: none; left: 60px; top: 30px; background: #fafafa;"
		closed="true" modal="true" collapsible="false" minimizable="false"
			maximizable="false" draggable="false" resizable="false">
			<form action="sysConfig/save" method="post" id="edit-sys-config-form"
				autocomplete="off">
				<table class="form-table">
					<input type="hidden" id="id" name="id">
                   <tr>
		    			<th align="right">属性名</th>
		    			<td>
		    				<input type="text" id="propertyName" name="propertyName" class="easyui-textbox add-input"/>
		    			</td>
		    		</tr>
                   <tr>
		    			<th align="right">属性值</th>
		    			<td>
		    				<input type="text" id="propertyValue" name="propertyValue" style="height:360px;" class="easyui-textbox add-input wid500" data-options="multiline:true"/>
		    			</td>
		    		</tr>
		    		<tr>
		    			<th align="right">備註</th>
		    			<td>
		    				<input type="text" id="remark" name="remark" class="easyui-textbox add-input"/>
		    			</td>
		    		</tr>
				</table>
				<br />
				<div class="form-buttons">
					<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-ok" onclick="javascript:submitSaveSysConfig();">提交</a>&nbsp;&nbsp;&nbsp;
				<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#edit-sys-config-box').dialog('close');">关闭</a>
			</div>
		</form>
	</div>
</body>
</html>
